<?php foreach($post->getImages() as $image): ?>
    <?php echo image_tag('/'.sfConfig::get('sf_upload_dir_name').'/thumb_'.$image->getFileName()); ?>
<?php endforeach; ?>

